import './style.css'
// import typescriptLogo from './typescript.svg'
// import viteLogo from '/vite.svg'
// import { setupCounter } from './counter.ts'

document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
  <div>
    <canvas id="canvas" />
  </div>
`

const canvas = document.querySelector<HTMLCanvasElement>('#canvas')
const ctx = canvas?.getContext('2d')

ctx!.fillStyle = "green"
ctx!.fillRect(10, 10, 150, 100)

// setupCounter(document.querySelector<HTMLButtonElement>('#counter')!)
